﻿using System;
using SharpSqlAnalyzer.nodes;

namespace SharpSqlAnalyzer.stmt
{
	// Token: 0x020000B0 RID: 176
	public class TGrantStmt : TCustomSqlStatement
	{
		// Token: 0x06000592 RID: 1426 RVA: 0x002FD2B9 File Offset: 0x002FB4B9
		public TGrantStmt(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sstGrant;
		}

		// Token: 0x06000593 RID: 1427 RVA: 0x002FD2CA File Offset: 0x002FB4CA
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			if (this.rootNode == null)
			{
				return -1;
			}
			base.doParseStatement(psql);
			return 0;
		}

		// Token: 0x06000594 RID: 1428 RVA: 0x002FD2DF File Offset: 0x002FB4DF
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x06000595 RID: 1429 RVA: 0x002FD2EF File Offset: 0x002FB4EF
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}
	}
}
